package com.zzyl.nursing.domain.member;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("预约信息实体")
public class Reservation{
    @ApiModelProperty(value = "主键id")
    private Long id;
    @ApiModelProperty(value = "预约人姓名")
    private String name;
    @ApiModelProperty(value = "预约人手机号")
    private String mobile;
    @ApiModelProperty(value = "预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;
    @ApiModelProperty(value = "探访人")
    private String visitor;
    @ApiModelProperty(value = "预约类型")
    private Integer type;
    @ApiModelProperty(value = "预约状态")
    private Integer status;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    @ApiModelProperty(value = "创建人ID")
    private Long createBy;
    @ApiModelProperty(value = "更新人ID")
    private Long updateBy;
    @ApiModelProperty(value = "备注")
    private String remark;
}